#region Using directives

/*
 * Copyright (c) 2005-2007 Alan Dean.
 * All rights reserved.
 */

using System;
using System.Collections.Generic;
using System.Globalization;

using ObjectThinking.Xml.ResourceDescriptionFramework;

#endregion

namespace ObjectThinking
{
    public sealed class LastNameRule : StringRule
    {
        // public constructors

        public LastNameRule()
        { }

        // public methods (IRule)

        public override bool Validate(ISelf obj)
        {
            return base.Validate(obj, Foaf.LastName, "last name", true, 1, 20);
        }
    }
}